package com.jeesite.modules.dp.dao.chatai;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.dp.entity.chatai.DpChartAiUsageLogEntity;
import org.apache.ibatis.annotations.Param;

@MyBatisDao
public interface DpChartAiUsageLogDao extends CrudDao<DpChartAiUsageLogEntity> {

    void increase(@Param("userId") String userId, @Param("date") Integer date);

    Integer getUsageNum(@Param("userId") String userId, @Param("date") Integer date);

    int count(@Param("userId") String userId, @Param("date") Integer date);
}
